class Person{
	int age;
	public Person(int a){
		age = a;
	}
	
	public void speak(){
		System.out.println("I am "+age+" years old");
	}
}

public class Example06{
	public static void main(String[] args){
		Person p1 = new Person(20);
		p1.speak();
	}
}